package com.cdks.wuxiu.api.model.vo;


import java.util.List;

import com.cdks.wuxiu.api.model.dto.KmsgDataDTO;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemGetParamVO {
    @ApiModelProperty(value = "云存信息")
    public CloudStorageParam ossParam;

    @ApiModelProperty(value = "kmsg信息")
    private SystemParam sysParam;

    @ApiModelProperty(value = "kmsg信息")
    private KmsgDataDTO kmsgParam;

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class SystemParam {
        @ApiModelProperty(value = "来电铃声")
        private String ringCallin;
    
        @ApiModelProperty(value = "去电铃声")
        private List<String> ringCallout;
    }

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class CloudStorageParam {
        @ApiModelProperty(value = "bucket")
        private String bucket;
    
        @ApiModelProperty(value = "endPoint")
        private String endPoint;
    
        @ApiModelProperty(value = "urlPath")
        private String urlPath;
    
        @ApiModelProperty(value = "accessKeyId")
        private String accessKeyId;
    
        @ApiModelProperty(value = "accessKeySecret")
        private String accessKeySecret;
    
        @ApiModelProperty(value = "securityToken")
        private String securityToken;
    
        @ApiModelProperty(value = "有效时间")
        private Long expiration;
    
        @ApiModelProperty(value = "有效状态")
        private Integer statusCode;    
    }  
}
